<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>显示消息</title>
<jsp:include page="/part/head.jsp"></jsp:include>
<script type="text/javascript">
	$(function() {
		setInterval(function() {
			location.href = '<%=request.getAttribute("redirect")%>';
		}, sec.innerText * 1000);
		setInterval(function() {
			$('#sec').text(parseInt(sec.innerText) - 1);
		}, 1000);
	});
</script>
</head>

<body>
	<h1><%=request.getAttribute("msg")%></h1>
	<a href=""><%=request.getAttribute("redirect")%></a> 
	<span id='sec'><%=request.getAttribute("delay")%></span>秒之后跳转！
</body>
</html>
